package org.jeecg.modules.quartz.job;

import lombok.extern.slf4j.Slf4j;
import org.jeecg.common.util.DateUtils;
import org.jeecg.modules.quartz.client.TestForestClient;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * 测试Forest
 * 
 * @Author Scott
 */
@Slf4j
public class TestForestJob implements Job {

	@Autowired
	private TestForestClient testForestClient;

	@Override
	public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {

		log.info(String.format(" 测试Forest任务 TestForestJob !  时间:" + DateUtils.getTimestamp()));

		testForestClient.sentSms();
	}
}
